<%-- 
    Document   : register
    Created on : 30-okt-2012, 11:31:10
    Author     : Achie
--%>
<%@include file="template/configuration.jsp"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>${website} || ${uq_register}</title>
        ${stylesheet}
        ${jquery}
    </head>
    <body>
        <div class="container">
            <%@include file="template/header.jsp" %>
            <div class="content">
                <h1>${uq_register}</h1>
                <p class="no-top-padding">${uq_first_text}</p>
                <form action="${url}Register" method="POST">
                    <label for="email">${uq_email}</label> <input type="email" name="email" id="email" value="${param.email}" required />
                    <span class="error">${error.email}</span>
                    <br />
                    <label for="password">${uq_password}</label> <input type="password" name="password" id="password" required />
                    <span class="error">${error.password}</span> <i>${uq_password_text}</i>
                    
                    <br />
                    <label for="confirmpassword">${uq_confirm_password}</label> <input type="password" name="confirmpassword" id="confirmpassword" required />
                    <span class="error">${error.confirm}</span>
                    <br />
                    <label for="firstname">${uq_firstname}</label> <input type="text" name="firstname" id="firstname" value="${param.firstname}" required />
                    <span class="error">${error.firstname}</span>
                    <br />
                    <label for="insertion">${uq_insertion}</label> <input type="text" name="insertion" id="insertion" value="${param.insertion}" />
                    <span class="error">${error.insertion}</span>
                    <br />
                    <label for="lastname">${uq_lastname}</label> <input type="text" name="lastname" id="lastname" value="${param.lastname}" required />
                    <span class="error">${error.lastname}</span>
                    <br />
                    <!---
                    <i>Optional:</i>
                    <br />
                    Interests: <input type="text" name="interests"/>
                    <br />!--->
                    <label>&nbsp;</label> <input type="submit" name="submit" value="${uq_register}"/>
                </form>
                <p>${uq_second_text}</p>
            </div>
            <%@include file="template/footer.jsp" %>
        </div>
    </body>
</html>
